package com.ruoyi.safe.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全罚款台账编号定义对象 biz_safe_billno
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
public class BizSafeBillno extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号定义ID唯一 */
    private Long id;

    /** 编号开头名称 */
    @Excel(name = "编号开头名称")
    private String defHeader;

    /** 单据类型 */
    @Excel(name = "单据类型")
    private String defClass;

    /** 编号长度 */
    @Excel(name = "编号长度")
    private Long serialLength;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDefHeader(String defHeader) 
    {
        this.defHeader = defHeader;
    }

    public String getDefHeader() 
    {
        return defHeader;
    }
    public void setDefClass(String defClass) 
    {
        this.defClass = defClass;
    }

    public String getDefClass() 
    {
        return defClass;
    }
    public void setSerialLength(Long serialLength) 
    {
        this.serialLength = serialLength;
    }

    public Long getSerialLength() 
    {
        return serialLength;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("defHeader", getDefHeader())
            .append("defClass", getDefClass())
            .append("serialLength", getSerialLength())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
